ShowTable of Contents
This article will go through the steps required to set up a provided test project to test your custom XPages controls.
In this tutorial we will be using an example control project:
com.example.greenbox, but same steps can be applied to other controls.
To follow this tutorial, import the
com.example.greenbox project which can be found in the article's
Attachments list.
Configuring Test Project
In the
MANIFEST.MF in the test project, remove dependency on the
com.example.xsp project
Add a new dependency for your control (in our case it's
com.example.greenbox) so it looks like so:
In the project open
WEB-INF/xsp.properties file
Change the dependency from
com.example.library to your own (in our case it's
com.example.greenbox.library)
It should look like so:
xsp.library.depends=\
com.ibm.xsp.core.library,\
com.ibm.xsp.extsn.library,\
com.ibm.xsp.designer.library,\
com.ibm.xsp.domino.library,\
com.example.greenbox.library